/*
 *      Created on: Mar 4, 2011
 *      Author: topcoder
 */

#ifndef SQUARE_H_
#define SQUARE_H_

class Square
{
public:
    Square(double length);
    double calculateArea() const;
    double calculatePerimeter() const;
    double setLength(double length);
private:
    double length_m;
    bool isShapeValid() const;
};

#endif /* SQUARE_H_ */
